//
//  FocusOnStoreViewController.m
//  GLGW_Shoping
//
//  Created by yang on 2018/12/4.
//  Copyright © 2018年 yang. All rights reserved.
//

#import "FocusOnStoreViewController.h"
#import "FoncusOnStoreViewModel.h"
#import "StoreInformationViewController.h"

@interface FocusOnStoreViewController ()<FoncusOnStoreDelegate>
@property (nonatomic,strong)FoncusOnStoreViewModel * foncusOnStoreViewModel;
@end

@implementation FocusOnStoreViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.foncusOnStoreViewModel = [[FoncusOnStoreViewModel alloc] initWithViewToViewModel:self.tableView theSuperView:self.view];
    self.foncusOnStoreViewModel.delegate = self;
    // Do any additional setup after loading the view.
}

#pragma mark -- <FoncusOnStoreDelegate>
-(void)pushStroreInformation{
    StoreInformationViewController * storeInforVC = [StoreInformationViewController new];
    [self.navigationController pushViewController:storeInforVC animated:YES];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
